package com.ca.project.Server.Modules.Tweets.PO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @PACKAGE_NAME: com.film.city.Server.Common.Modules.TweetsImg.PO
 * @NAME: UpdateTweetsPO
 * @USER: ASUS
 * @DATE: 26/4/2024
 * @TIME: 上午4:41
 **/
@Data
@ApiModel(value = "修改推文内容")
public class UpdateTweetsPO implements Serializable {

    private static final long serialVersionUID = 1619465104253010634L;

    @ApiModelProperty(value = "推文id", required = true)
    @NotNull(message = "推文id不能为空")
    private Long id;

    @ApiModelProperty(value = "上传用户", required = true)
    @NotBlank(message = "上传用户不能为空")
    private String t_create_user;

    @ApiModelProperty(value = "推文题目", required = true)
    @NotBlank(message = "推文题目不能为空")
    private String t_title;

    @ApiModelProperty(value = "推文内容", required = true)
    @NotBlank(message = "推文内容不能为空")
    private String t_content;
}
